package com.yunsc.content.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yunsc.content.dto.QueryArticleDTO;
import com.yunsc.content.entity.YunscArticleEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 文章记录表
 * 
 * @author adan
 * @email 2028038953@qq.com
 * @date 2024-04-22 11:35:52
 */
@Mapper
public interface YunscArticleDao extends BaseMapper<YunscArticleEntity> {

    /**
     * 分页查询文章列表
     * @param param 分页查询参数
     * @param storeId 店铺ID
     * @return   文章分页数据
     */
    Page<YunscArticleEntity> selectArticlePage(Page<Object> objectPage, @Param("param") QueryArticleDTO param, @Param("storeId") Integer storeId);

}
